package cn.seecoder.courselearning.mapperservice.test;

import cn.seecoder.courselearning.po.test.Test;
import cn.seecoder.courselearning.po.test.UserTest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserTestMapper {
    int deleteByPrimaryKey(@Param("testId") Integer testId, @Param("userId") Integer userId);

    int insert(@Param("testId") Integer testId, @Param("userId") Integer userId, @Param("score") Integer score);

    UserTest selectByPrimaryKey(@Param("testId") Integer testId, @Param("userId") Integer userId);

}
